import style from './style.css';
import React from 'react';
import { Icon } from 'antd';
import Menu from './Menu';
import { Block } from '../Block';
import { Button } from '../Button';
export default (props) => {
    return (
        <Block border  {...props}>
            <Menu menuData={props.menuData} />
            <Button style={{ position: 'absolute', top: 5, right: 90, height: 36, fontSize: 15, lineHeight: '36px', cursor: 'pointer'  }} model='workmodel'>
                <div className={style.iconSwitch} />
                <strong style={{paddingLeft:30}}>工作模式</strong>
            </Button>
        </Block>
    )
}